package com.pizzashop.abs.factory;

import com.pizzashop.abs.ingredient.PizzaIngredientFactory;

public class PepperoniPizza extends Pizza {

	private PizzaIngredientFactory pizzaIngredientFactory;

	public PepperoniPizza(PizzaIngredientFactory pizzaIngredientFactory) {
		this.pizzaIngredientFactory = pizzaIngredientFactory;
	}

	@Override
	public void prepare() {
		System.out.println("Preparing " + name);
		dough = pizzaIngredientFactory.createDough();
		sauce = pizzaIngredientFactory.createSauce();
		cheese = pizzaIngredientFactory.createCheese();
		pepperoni = pizzaIngredientFactory.createPepperoni();
		
	}

	@Override
	public void bake() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void cut() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void box() {
		// TODO Auto-generated method stub
		
	}

}
